package com.le.tester.javaThink.fifth.chapter12_Collections;

import java.util.ArrayList;
import java.util.Collection;

/**
 * createTime：2021/8/24 16:24
 * description：SimpleCollection
 */
public class SimpleCollection {
    public static void main(String[] args) {
        Collection<Integer> c = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            c.add(i);
        }
        for (Integer i : c) {
            System.out.print(i + " ");
        }
    }
}
